﻿<UserControl x:Class="Bookvar.UI.NotesButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ui="clr-namespace:Bookvar.UI.Commands">
    
    <UserControl.Resources>
        <Style TargetType="Button" x:Key="NotesButton">
            <Setter Property="Width" Value="25"></Setter>
            <Setter Property="Height" Value="25"></Setter>
            <Setter Property="Background" Value="Transparent"></Setter>
        </Style>
    </UserControl.Resources>
  
  <Button x:Name="btnShowNotes" Command="ui:BookvarUICommands.ShowNotes"
    Background="Transparent" Style="{StaticResource NotesButton}">
    <Button.ToolTip>
      <RichTextBox x:Name="toolTipBox" Height="200" Width="150"/>
    </Button.ToolTip>

    <!-- TODO: change the image source with wpf icon -->
    <Image Source="pack://application:,,,/BookvarWPF;component/Resources/Icons/32x32/txt32.png" Width="16" Height="16" />
  </Button>
</UserControl>
